#include <vulkan/vulkan.h>
#include <iostream>

using namespace std;

int main()
{   
    VkApplicationInfo appInfo = {};
    appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
    appInfo.pApplicationName = "Hello Triangle";
    appInfo.pEngineName = "No Engine";



    VkInstanceCreateInfo createInfo = {};
    createInfo.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;
    createInfo.pApplicationInfo = &appInfo;

    VkInstance instance;


    VkResult result =  vkCreateInstance(&createInfo, 0, &instance) ;
    if(result == VK_SUCCESS){
        cout << "Instance created successfully" << endl;
    } 
    return 0;
}